Skip to content

docs: add English blog post on Figma-to-code visual validation#265

Merged
rubenmarcus merged 2 commits intomainfrom
content/english-blog-v040
Apr 8, 2026
Merged

docs: add English blog post on Figma-to-code visual validation#265
rubenmarcus merged 2 commits intomainfrom
content/english-blog-v040

Conversation

@rubenmarcus
Copy link
Copy Markdown
Member

Summary

  • English SEO-optimized blog post about ralph-starter v0.4.0 Figma-to-code workflow
  • Targets keywords: "figma to code", "visual validation", "design to code automation"
  • Covers: three-layer validation pipeline, Figma wizard, extraction capabilities, multi-agent support
  • Includes internal links to 7 docs pages for SEO juice
  • Written for international English-speaking developer audience

Test plan

  • Blog post renders correctly at /blog/figma-to-code-visual-validation
  • Frontmatter keywords and description appear in page meta tags
  • All internal links resolve (no 404s)
  • Blog list page shows the post with correct date and preview
  • pnpm build in docs/ passes

🤖 Generated with Claude Code

SEO-optimized English article targeting international developer audience.
Covers the three-layer visual validation pipeline, Figma wizard,
extraction capabilities, and multi-agent support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

Issue Linking Reminder

This PR doesn't appear to have a linked issue. Consider linking to:

  • This repo: Closes #123
  • ralph-ideas: Closes multivmlabs/ralph-ideas#123

Using Closes, Fixes, or Resolves will auto-close the issue when this PR is merged.


If this PR doesn't need an issue, you can ignore this message.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 6, 2026

Greptile Summary

This PR adds a single English-language, SEO-optimised blog post (2026-03-07-figma-to-code-visual-validation.md) describing the new ralph-starter figma interactive wizard and three-layer visual validation pipeline introduced in v0.4.0. The post covers the full workflow from pasting a Figma URL through pixel comparison, LLM vision analysis, and strict gate validation, and includes internal links to seven docs pages for SEO.

Key issues found:

  • Build-breaking broken link/docs/cli/figma is referenced in the References section but docs/docs/cli/figma.md does not exist. With onBrokenLinks: 'throw' in docusaurus.config.ts, pnpm build will fail, directly blocking the stated test-plan item.
  • Duplicate social/OG imageimage: /img/blog/figma-to-code.png is already used by the existing post 2026-02-01-figma-to-code-one-command.md, making both posts visually identical when shared on social media.
  • Missing Figma API token prerequisite — The "Try it" section guides readers straight to ralph-starter figma without mentioning that a Figma Personal Access Token must be configured first (ralph-starter config set figma.token figd_...), which will cause a first-run authentication error.

Confidence Score: 2/5

  • Not safe to merge — the broken /docs/cli/figma link will cause pnpm build to fail due to onBrokenLinks: 'throw'.
  • The post is a docs-only change with no code risk, but it contains a broken internal link to a page that does not exist (/docs/cli/figma). The Docusaurus configuration throws on broken links, so this will cause the CI build to fail before the post is ever published. The issue is straightforward to fix — either create the missing page or swap the link for the existing /docs/sources/figma reference.
  • docs/blog/2026-03-07-figma-to-code-visual-validation.md — specifically line 160 where the broken /docs/cli/figma reference lives.

Important Files Changed

Filename Overview
docs/blog/2026-03-07-figma-to-code-visual-validation.md New SEO-optimised blog post for the v0.4.0 Figma visual-validation feature; contains a broken /docs/cli/figma reference that will cause pnpm build to fail due to onBrokenLinks: 'throw', shares the same OG image as an existing Figma post, and omits the required Figma API token setup step.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[ralph-starter figma] --> B[Interactive Wizard\nURL · description · stack · model]
    B --> C[Figma API extraction\ntypography · colors · spacing · assets]
    C --> D[AI Agent coding loop\nwrite → lint → build → commit]
    D --> E[Layer 1: pixelmatch\npixel diff < 2%?]
    E -->|Yes| F[✓ Visual validation passed]
    E -->|No - diff ≥ 2%| G[Layer 2: LLM vision analysis\nFigma screenshot + impl screenshot + diff overlay]
    G --> H[Agent applies fixes]
    H --> I[Layer 3: Strict pixelmatch gate\npixel diff < 2%?]
    I -->|Yes| F
    I -->|No| G
Loading

Last reviewed commit: 83c3c22

Comment thread docs/blog/2026-03-07-figma-to-code-visual-validation.md Outdated
Comment thread docs/blog/2026-03-07-figma-to-code-visual-validation.md
Comment thread docs/blog/2026-03-07-figma-to-code-visual-validation.md
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 83c3c22316

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/blog/2026-03-07-figma-to-code-visual-validation.md Outdated
Changed /docs/cli/figma to /docs/sources/figma — the cli/figma
page does not exist, the Figma documentation lives under sources.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 8, 2026

🔗 Docs Preview

Preview URL: https://content-english-blog-v040.ralph-starter-docs.pages.dev

This preview was deployed from the latest commit on this PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

This PR has been automatically marked as stale because it has not had recent activity.
It will be closed in 7 days if no further activity occurs.
Please update or comment if this PR is still in progress.

@github-actions github-actions bot added the stale label Apr 8, 2026
@rubenmarcus rubenmarcus merged commit 9899e18 into main Apr 8, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant